\hypertarget{class_cast_filter}{\section{Cast\-Filter$<$ Input, Output $>$ Class Template Reference}
\label{class_cast_filter}\index{Cast\-Filter$<$ Input, Output $>$@{Cast\-Filter$<$ Input, Output $>$}}
}


{\ttfamily \#include $<$Cast\-Filter.\-hpp$>$}

Inheritance diagram for Cast\-Filter$<$ Input, Output $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_cast_filter}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Output \hyperlink{class_cast_filter_a4de90c7502ff69eea369a17cc680739b}{Apply} (const Input \&input) const 
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Input, typename Output$>$class Cast\-Filter$<$ Input, Output $>$}

The \hyperlink{class_cast_filter}{Cast\-Filter} template class is a filter that uses C++'s built in conversion feature to filter an input into an object of the Output type.


\begin{DoxyTemplParams}{Template Parameters}
{\em Input} & The type of the input object. \\
\hline
{\em Output} & The type of the output object. \\
\hline
\end{DoxyTemplParams}


\subsection{Member Function Documentation}
\hypertarget{class_cast_filter_a4de90c7502ff69eea369a17cc680739b}{\index{Cast\-Filter@{Cast\-Filter}!Apply@{Apply}}
\index{Apply@{Apply}!CastFilter@{Cast\-Filter}}
\subsubsection[{Apply}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Input , typename Output $>$ virtual Output {\bf Cast\-Filter}$<$ Input, Output $>$\-::Apply (
\begin{DoxyParamCaption}
\item[{const Input \&}]{input}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_cast_filter_a4de90c7502ff69eea369a17cc680739b}
Apply the filter to an input.

This will create an output object using the constructor syntax \char`\"{}\-Output(input)\char`\"{}.


\begin{DoxyParams}{Parameters}
{\em input} & A reference to the input (which will not get modified). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The output of the filtered input. 
\end{DoxyReturn}


Implements \hyperlink{class_filter_a377c1d2a9400698fdf5a41d293fd32b8}{Filter$<$ Input, Output $>$}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Sam/\-Projects/\-F\-R\-C/\-Libraries/\-Fpk/\-Entech-\/\-Fpk-\/\-Subscribers/\-Entech-\/\-Fpk/\-Filters/Cast\-Filter.\-hpp\end{DoxyCompactItemize}
